package com.tocea.formation.users.library;

import java.util.Set;

import com.tocea.formation.users.IUser;


public interface IRentManager
{
    void rentBook(IUser _user, IBook _book) throws NotEnoughtExemplaireException;
    
    void returnBook(IRentBook _rent) throws NotSuchRentException;
    
    void returnBook(long _idRent) throws NotSuchRentException;
    
    Set<IRentBook> getAllRents();
}
